package com.cloudfast.dingtalk;

public class DingTalkURI {

    private static String DINGPREFIX = "https://oapi.dingtalk.com";
    /**
     * 企业内部应用token
     */
    public static final String ENTERPRICETOKEN = DINGPREFIX + "/gettoken";

    /**
     * 企业第三方登录token
     */
    public static final String THIREDAPPTOKEN = DINGPREFIX + "/service/get_corp_token";

    /**
     * 获取用户信息
     */
    public static final String URL_GET_USER_INFO = DINGPREFIX + "/topapi/v2/user/getuserinfo";

    /**
     * 用户详情
     */
    public static final String USER_INFO_DETAIL = DINGPREFIX + "/topapi/v2/user/get";

    /**
     * 用户unionid
     */
    public static final String GET_UNIONID = DINGPREFIX + "/sns/getuserinfo_bycode";


    /**
     * 用户userid
     */
    public static final String GET_USERID_UNIONID = DINGPREFIX + "/topapi/user/getbyunionid";
}
